<?php
if (!isset($ado_conn)) {
	include("../../connect_ado.php");	
}
$sql = "Exec ONEGATE_UpdateLastTime " ;
$sql = $sql .  "'" . $v_ip_address . "'" ;
$sql = $sql . "," .  $_REQUEST['logon_staff_id'] ;
//echo $sql;exit;
$ado_conn->SetFetchMode(ADODB_FETCH_ASSOC);
$rs = $ado_conn->GetRow($sql); 
$v_error = _replace_bad_char(trim($rs['RET_ERROR']));
?>